-
Select all tables "*" in Oracle with dbSQL Command
Trying to do a Mydb.dbSQL="*" in Oracle and get the message:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted; the operation requested by the application requires a current record.
I tried SCHEMA.* and Select * from DBA_TABLES WHERE OWNER = 'ISM' and neither works.
Any advice?
Thank you
Nick
-
Select all tables "*" in Oracle with dbSQL Command (reply)
Post you code, the exact code that fails !!
FK
------------
Nick Matteucci at 12/7/99 5:26:38 PM
Trying to do a Mydb.dbSQL="*" in Oracle and get the message:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted; the operation requested by the application requires a current record.
I tried SCHEMA.* and Select * from DBA_TABLES WHERE OWNER = 'ISM' and neither works.
Any advice?
Thank you
Nick
-
Select all tables "*" in Oracle with dbSQL Command (reply)
Here is the code:
<%Set MyDb = Server.CreateObject("aspDB.EP"
Mydb.dbDSN="DSN=local; UID=scott; PWD=tiger;"
MyDb.dbUnit= "1" 'Unique page identifier: Obj.dbUnit=integer
Mydb.dbDBType = "Oracle" 'Database type: Obj.dbDBType="ACCESS(def)|SQL|ORACLE[,server]|SYBASE| FOXPRO|EXCEL|TXT"
Mydb.dbMode="Both" 'Set mode and relationship between Grid and Form: Obj.dbMode = "Grid | Form | Both | Dual | Dual=Horiz"
Mydb.dbSelectFrom=True 'Select from: Obj.dbSelectFrom = True | False (def=true)
Mydb.dbSuppressMsg=True 'Supress error messages: Obj.dbSuppressMsg = True | False (def)
Mydb.dbGridDisplayFlds ="1,2,3,4,5,6,7,8"
MyDb.dbSQL = "*"
tbl = Session("ASPW_table_name"
If tbl <> "" and tbl <> "Select * from ISM" Then MyDb.dbSQL = "Select * from " & tbl
MyDb.dbImageDir="images/" 'Relitive path to images: Obj.dbImageDir = "Dir Path"
MyDb.dbOptions = "CloseConnection=True"
MyDb.dbTables = "5,Choose a standard table or a type table from the database"
Mydb.dbNavigationItem=" Next, Prev, Resetfilter, Add, Update, Delete" 'List navigation items: Obj.dbNavigationItem = " bottom ... add, delete, update, edit ...delete"
MyDb.DBColor = "dedede,000000,dedede,black,white,,false,false " 'Color Properties: Obj.dbColor="TableBG,HeaderFG,HeaderBG,TableFG ,horizontal stripes,vertical stripes,Formstripe,Transparency"
Mydb.dboptions="DateFormat=DD-MMM-YYYY,HeaderFontTag=Face=Tohoma Size=2,CellFontTag=Face=Arial Size=2" 'Edit and view options: Obj.dbOptions = "(;,)HeaderFontTag=XXX, CellFontTag=XXX *no color tag!*, ResBuffer=8000, NullShownAsBlank=False"
Mydb.dbNavigation="Top" 'Placement of navigation icons: Obj.dbNavigation = "none | bottom | top | both"
Mydb.dbEditParams = "Size200=2x35,InputSize=5x33, Tablename=" & tbl & ",BookMarkFlds=0,TableTag=BORDER=0" 'Establish edit table, keys, and other edit parameters: Obj.dbEditParams="(;,)Tablename, TableTag, EditCol, InputSize, BookMarkFlds, LinkFlds, RecordScope"
Mydb.dbEditFlds="1,2,3,4,5,6,7,8,9,10,11,12,13 ,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,3 0,31,32,33,"
MyDb.aspDBEP 'End of ASPdb methods%>
------------
Frank at 12/7/99 8:03:03 PM
Post you code, the exact code that fails !!
FK
------------
Nick Matteucci at 12/7/99 5:26:38 PM
Trying to do a Mydb.dbSQL="*" in Oracle and get the message:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted; the operation requested by the application requires a current record.
I tried SCHEMA.* and Select * from DBA_TABLES WHERE OWNER = 'ISM' and neither works.
Any advice?
Thank you
Nick
-
Select all tables "*" in Oracle with dbSQL Command (reply)
Here is the code. We tried many combinations and still could not get the system to pull the tables.
<%Set MyDb = Server.CreateObject("aspDB.EP"
Mydb.dbDSN="DSN=local; UID=scott; PWD=tiger;"
MyDb.dbUnit= "1"
Mydb.dbDBType = "Oracle"
Mydb.dbMode="Both"
Mydb.dbSelectFrom=True
Mydb.dbSuppressMsg=True
Mydb.dbGridDisplayFlds ="1,2,3,4,5,6,7,8"
MyDb.dbSQL = "*"
tbl = Session("ASPW_table_name"
If tbl <> "" and tbl <> "*" Then MyDb.dbSQL = "Select * from " & tbl
MyDb.dbImageDir="images/"
MyDb.dbOptions = "CloseConnection=True"
MyDb.dbTables = "5,Choose a standard table or a type table from the database"
Mydb.dbNavigationItem=" Next, Prev, Resetfilter, Add, Update, Delete"
MyDb.DBColor = "dedede,000000,dedede,black,white,,false,false "
Mydb.dboptions="DateFormat=DD-MMM-YYYY,HeaderFontTag=Face=Tohoma Size=2,CellFontTag=Face=Arial Size=2"
Mydb.dbNavigation="Top"
Mydb.dbEditParams = "Size200=2x35,InputSize=5x33, Tablename=" & tbl & ",BookMarkFlds=0,TableTag=BORDER=0"
Mydb.dbEditFlds="1,2,3,4,5,6,7,8,9,10,11,12,13 ,14,15,16,17,18,19,20,21,22,23,"
MyDb.aspDBEP 'End of ASPdb methods
%>
------------
Frank at 12/7/99 8:03:03 PM
Post you code, the exact code that fails !!
FK
------------
Nick Matteucci at 12/7/99 5:26:38 PM
Trying to do a Mydb.dbSQL="*" in Oracle and get the message:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted; the operation requested by the application requires a current record.
I tried SCHEMA.* and Select * from DBA_TABLES WHERE OWNER = 'ISM' and neither works.
Any advice?
Thank you
Nick
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|